package com.sc.nft.admin.request;

import com.sc.nft.enums.CollectionOnConsignEnum;
import com.sc.nft.sup.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author Jozu
 * @since 2024/9/4 15:12
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class MaintainCollectionListRequest extends PageRequest {

    @ApiModelProperty(value = "选中的市值账号用户id",required = true)
    @NotNull(message = "市值账号用户id不能为空")
    private Long checkedUserId;

    @ApiModelProperty(value = "藏品id",required = true)
    @NotNull(message = "藏品id")
    private Long collectionId;


    @ApiModelProperty(value = "底价")

    private BigDecimal lowPrice;


    @ApiModelProperty(value = "上限价")
    private BigDecimal highPrice;

    @ApiModelProperty("是否寄售中(是否上架中) 不传为全部")
    private CollectionOnConsignEnum onConsign;
}
